<template>
  <div class="suc-wrap">
    <div class="pic-box">
      <img src="./successful.png" class="pic" onclick="return false"/>
    </div>

    <div class="title-box">提现发起成功，等待处理</div>

    <div class="btn-box">
      <button type="text" class="sure" @click="confirm">确定</button>
    </div>
  </div>
</template>

<script>
  export default {
    methods: {
      confirm() {
        sessionStorage.removeItem("with_bankname");
        sessionStorage.removeItem("with_banknumber");
        sessionStorage.removeItem("with_cardtype");
        sessionStorage.removeItem("with_charge");
        sessionStorage.removeItem("reserved_phone");
        this.$router.push("/wallet");
      }
    }
  }
</script>

<style lang="stylus" scoped>
  @import "../../assets/stylus/mixin.styl"

  .suc-wrap
    wh(100%, 100%)
    overflow: hidden
    .pic-box
      margin-top: 1.6rem
      margin-bottom: 0.8rem
      text-align: center
      .pic
        wh(1.6rem, 1.6rem)
    .title-box
      text-align: center
      size-color(0.427rem, rgba(51, 51, 51, 1))
    .btn-box
      fj(center, center)
      position: fixed
      bottom: 0.48rem
      wh(100%, 1.333333rem)
      border-radius(0.133333rem)
      .sure
        wh(92.53%, 1.333333rem)
        border-radius(0.133333rem)
        size-color(0.44rem, rgba(255, 255, 255, 1))
        background: rgba(60, 175, 255, 1)
        border: none
</style>
